Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing how signing and presigning works #526

Closed
wants to merge 5 commits into from
Closed

Conversation

xibz
Copy link
Contributor

@xibz xibz commented Jan 26, 2016

Fixes #503
Uses Validators object now to do validation instead of blacklists. This allows for more flexible rules. In addition, a new method has been introduced, PresignRequest. This will return a URL with very little headers hoisted and also returns a map of the headers that were hoisted.

With this fix, content-type will be enforced.

xibz and others added 3 commits January 26, 2016 09:13
Added new method to return the signature while hoisting all headers

Added new method to return the signature while hoisting all headers
…presign function or not

updated names and using http.Header

Update unit test

more tests and verified that x-amz-meta-* are not good in query.
@xibz xibz changed the title Issue 503 Changing how signing and presigning works Jan 27, 2016
@xibz
Copy link
Contributor Author

xibz commented Jan 28, 2016

Closing because it was merged in release-v1.1.0

@xibz xibz closed this Jan 28, 2016
@xibz xibz deleted the issue-503 branch February 5, 2016 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[S3] presigned PutObject - Enforce Content-Type
1 participant